package noStaticFactory;

public class StudentServiceFactory {
    private  Student student;
    public Student createStudentServiceBean(String userName,String userPwd){
       this.student=new Student(userName,userPwd);
       return  student;
    }
}
